package com.tensequare.friend.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @Author: Feng.Wang
 * @Company: Zelin.ShenZhen
 * @Description:
 * @Date: Create in 2019/3/29 17:05
 */
@FeignClient("tensquare-user")
public interface UserClient {
    @RequestMapping(value = "/user/incfans/{userid}/{x}",method = RequestMethod.POST)
    public void incFanscount(@PathVariable("x") int x, @PathVariable("userid") String userid);
    @RequestMapping(value = "/user/incfollow/{userid}/{x}",method = RequestMethod.POST)
    public void incFollowcount(@PathVariable("x") int x,@PathVariable("userid") String userid);
}
